package com.web.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "hello.properties")
@Data
@Component
public class HelloServiceProperties {
    private String name;
    private String age;
    private String flag;
}
